home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
jazclib1.arc
/
LOCATE.C
< prev
next >
Wrap
Text File
|
1986-05-12
|
398b
|
23 lines
#include <jaz.h>
extern int g_row,g_col,_row1,_row2,_col1,_col2;
locate (frow , fcol )
int frow , fcol;
{
TREG wreg;
frow += _row1;
fcol += _col1;
frow = max(frow,_row1);
frow = min(frow,_row2);
fcol = max(fcol,_col1);
fcol = min(fcol,_col2);
wreg.h.bh = 0; /* page 0 */
wreg.h.ah = 2;
wreg.h.dh = frow;
wreg.h.dl = fcol;
intr(0x10,&wreg);
}